package com.cargohu.aishouyu.file.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;

/**
 * 文件管理表
 *
 * @author aaron.wang
 * @since 2024-01-07
 */
@Data
@TableName("file")
@Schema(description = "文件管理表")
public class File implements Serializable {

    private static final long serialVersionUID = 1L;

    @Schema(description = "编号")
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private Long id;

    private String fileName;

    private String bucketName;

    private String original;

    private String type;

    @Schema(description = "文件大小")
    private Long fileSize;

    @Schema(description = "上传时间")
    private Date createTime;

    @Schema(description = "更新时间")
    private Date updateTime;

    private String delFlag;

}

